#pragma once

#include <minwinbase.h>

namespace ysimple_system
{
	struct YProactorToken : public OVERLAPPED
	{
		void	resetOverlapped()
		{
			Internal = 0;
			InternalHigh = 0;
			Offset = 0;
			OffsetHigh = 0;
			hEvent = 0;
		}
		virtual bool	onCompleted(bool completionStatus, LONG_PTR		completionKey, DWORD			dwBytesTransfered ) = 0;
	};
}